<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:cc="http://java.sun.com/jsf/composite/components"
	xmlns:p="http://primefaces.org/ui">

<h:head>
	<title>Input</title>
</h:head>

<h:body>
	<ui:composition>
		<h:outputScript library="javax.faces" name="jsf.js" target="body" />
		<div class="post">
			<h2 class="title">Please input the Menu URL to save to database</h2>
			<p class="meta">&nbsp;</p>
			<div class="entry">

				<h:form id="query">
					<h:panelGrid columns="2" border="0">
		                url: <h:inputText id="url" value="#{menuManager.url}" />
					</h:panelGrid>


					<h:commandButton id="submit" type="submit" value="submit"
						action="#{menuManager.persistMenu()}" />
					<br />
				</h:form>
				<!--			    <div class="error">-->
				<!--			      <h:messages layout="table"/>-->
				<!--			    </div>	    -->
			</div>
		</div>
	</ui:composition>
</h:body>
</html>
